package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;



@Entity
@Table
public class Memorandum implements Serializable {
	
	/**
	 * 日历备忘录信息
	 */
	private static final long serialVersionUID = -5224838021844685862L;
	private Integer code;
	private Integer oc;				//机构编号
	private String title;			//标题
	private String content;			//内容 
	private Date start;				//开始时间
	private Date end;				//结束时间
	private Boolean allDay;			//标示是否整天的时间
	private Integer designee;		//指派人
	private Integer transactor;		//办理人
	private Boolean deleted = false;		//是否删除
	private Integer taskStatus;		//任务状态 1：未完成 2：已完成 3：移交
	private String remark;			//备注
	private Integer cu;				//创建者
	
	
	
	
	


	

	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getOc() {
		return oc;
	}
	@Column
	public String getTitle() {
		return title;
	}
	@Column
	public Date getStart() {
		return start;
	}
	@Column
	public Date getEnd() {
		return end;
	}
	@Column(length = 1000)
	public Boolean getAllDay() {
		return allDay;
	}
	@Column
	public String getContent() {
		return content;
	}
	@Column
	public Integer getDesignee() {
		return designee;
	}
	@Column
	public Integer getTransactor() {
		return transactor;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	@Column
	public Integer getTaskStatus() {
		return taskStatus;
	}
	@Column(length = 200)
	public String getRemark() {
		return remark;
	}
	@Column
	public Integer getCu() {
		return cu;
	}
	
	
	
	
	

	
	
	
	

	public void setCode(Integer code) {
		this.code = code;
	}
	public void setOc(Integer oc) {
		this.oc = oc;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setStart(Date start) {
		this.start = start;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public void setAllDay(Boolean allDay) {
		this.allDay = allDay;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	public void setTaskStatus(Integer taskStatus) {
		this.taskStatus = taskStatus;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public void setDesignee(Integer designee) {
		this.designee = designee;
	}
	public void setTransactor(Integer transactor) {
		this.transactor = transactor;
	}
	public void setCu(Integer cu) {
		this.cu = cu;
	}
	
	
}
